package com.hl.service;

import com.hl.mapper.ChargeStandardMapper;
import com.hl.pojo.ChargeStandard;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ChargeStandardServiceImpl implements ChargeStandardService{
    @Autowired
    public ChargeStandardMapper chargeStandardMapper;

    @Override
    public Integer add(ChargeStandard chargeStandard) {
        return chargeStandardMapper.add(chargeStandard);
    }

    @Override
    public Integer del(ChargeStandard chargeStandard) {
        return chargeStandardMapper.del(chargeStandard);
    }

    @Override
    public List<ChargeStandard> findByType(ChargeStandard chargeStandard) {
        return chargeStandardMapper.findByType(chargeStandard);
    }

    @Override
    public List<ChargeStandard> findByConsultant(ChargeStandard chargeStandard) {
        return chargeStandardMapper.findByConsultant(chargeStandard);
    }
}
